<?php 
if (!defined('IN_DISCUZ')) {
    exit('Access Denied');
}
if ($_G['uid']) {
    $iszan = C::t('forum_memberrecommend')->fetch_by_recommenduid_tid($_G['uid'], $thread['tid']);
} else {
    $iszan = 0;
}